Optimal. Leaf size=33 \[ \frac {\log \left (\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d) n} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.06, antiderivative size = 33, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.086, Rules used = {2561, 2339, 29}
\begin {gather*} \frac {\log \left (\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{n (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 29
Rule 2339
Rule 2561
Rubi steps
\begin {align*} \int \frac {1}{(a+b x) (c+d x) \log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )} \, dx &=\frac {\log \left (\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(b c-a d) n}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.03, size = 34, normalized size = 1.03 \begin {gather*} -\frac {\log \left (\log \left (e \left (\frac {a+b x}{c+d x}\right )^n\right )\right )}{(-b c+a d) n} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.20, size = 0, normalized size = 0.00 \[\int \frac {1}{\left (b x +a \right ) \left (d x +c \right ) \ln \left (e \left (\frac {b x +a}{d x +c}\right )^{n}\right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.44, size = 34, normalized size = 1.03 \begin {gather*} \frac {\log \left (-\log \left ({\left (b x + a\right )}^{n}\right ) + \log \left ({\left (d x + c\right )}^{n}\right ) - 1\right )}{b c n - a d n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.41, size = 33, normalized size = 1.00 \begin {gather*} \frac {\log \left (n \log \left (\frac {b x + a}{d x + c}\right ) + 1\right )}{{\left (b c - a d\right )} n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 82 vs.
\(2 (34) = 68\).
time = 4.15, size = 82, normalized size = 2.48 \begin {gather*} \frac {{\left (\frac {b c}{{\left (b c - a d\right )}^{2}} - \frac {a d}{{\left (b c - a d\right )}^{2}}\right )} \log \left (\frac {1}{4} \, \pi ^{2} {\left (\mathrm {sgn}\left (b x + a\right ) \mathrm {sgn}\left (d x + c\right ) - 1\right )}^{2} n^{2} + {\left (n \log \left (\frac {{\left | b x + a \right |}}{{\left | d x + c \right |}}\right ) + 1\right )}^{2}\right )}{2 \, n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.48, size = 33, normalized size = 1.00 \begin {gather*} -\frac {\ln \left (\ln \left (e\,{\left (\frac {a+b\,x}{c+d\,x}\right )}^n\right )\right )}{a\,d\,n-b\,c\,n} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________